extends Talent
var utils = globalData.infoDs["g_AneHekUtils"]
var base = globalData.infoDs["g_AneHekBase"]
func init():
	name = "鸡腿桶"

func _connect():
	sys.main.connect("onBattleStart", self, "run")


func run():
	var chas = utils.getAllChas(2)
	for i in chas:
		if i.has_method("changeShield"):
			i.changeShield(i.att.maxHp * 0.05 + i.att.atk)
	
func get_info():
	return "战前鸡腿桶，角色不会怂【开局角色添加（自身血量5%+自身物攻）点护盾】\n此天赋不需要升级"